/**
 * 
 */
package com.wm.service;

import java.util.List;

import com.wm.bean.Area;
import com.wm.bean.City;
import com.wm.bean.Restaurant;
import com.wm.bean.RestaurantScriptoriumCon;
import com.wm.service.web.PageList;
import com.wm.service.web.Pages;

/**
 * @author zhangbaochao
 *
 */
public interface RestaurantScriptoriumConService {
	
	/**
	 * 保存RestaurantScriptoriumCon对象
	 * 
	 * @param restaurantScriptoriumCon
	 * 			RestaurantScriptoriumCon
	 * @return RestaurantScriptoriumCon
	 * 			RestaurantScriptoriumCon
	 */
	public RestaurantScriptoriumCon saveRestaurantScriptoriumCon(RestaurantScriptoriumCon restaurantScriptoriumCon);
	
	/**
	 * 更新RestaurantScriptoriumCon对象
	 * 
	 * @param restaurantScriptoriumCon
	 * 			RestaurantScriptoriumCon
	 * @return RestaurantScriptoriumCon
	 * 			RestaurantScriptoriumCon
	 */
	public RestaurantScriptoriumCon updateRestaurantScriptoriumCon(RestaurantScriptoriumCon restaurantScriptoriumCon);
	
	/**
	 * 根据ID删除RestaurantScriptoriumCon对象
	 * 
	 * @param id
	 * 			long
	 */
	public void removeRestaurantScriptoriumConById(long id);
	
	/**
	 * 根据ID获取RestaurantScriptoriumCon对象
	 * 
	 * @param id
	 * 			long
	 * @return RestaurantScriptoriumCon
	 * 			RestaurantScriptoriumCon
	 */
	public RestaurantScriptoriumCon findRestaurantScriptoriumConById(long id);
	
	/**
	 * 根据参数获取RestaurantScriptoriumCon对象列表
	 * 
	 * @param resId
	 * 			long
	 * @param isShow
	 * 			int
	 * @param orderby
	 * @param ascOrDesc
	 * @return List
	 * 			List
	 */
	public List findRestaurantScriptoriumConsByResIdIsShow(long resId,int isShow, String orderby, int ascOrDesc);
	
	/**
	 * 根据参数获取RestaurantScriptoriumCon对象列表
	 * @param collectList
	 * @param scrId
	 * @param isShow
	 * @param orderby
	 * @param ascOrDesc
	 * @return
	 */
	public List findRestaurantScriptoriumConsByScrIdIsShowCollectList(long scrId,int isShow, String orderby, int ascOrDesc,List collectList);
}
